Release 10.1A: OpenEdge Development:
Progress 4GL Reference


MODIFIED attribute

Indicates whether the value of the SCREEN-VALUE attribute for the widget has changed.

Data type: LOGICAL

Access: Readable/Writeable

Applies to: BROWSE widget (browse and column), COMBO-BOX widget, EDITOR widget, FILL-IN widget, RADIO-SET widget, SELECTION-LIST widget, SLIDER widget, TEXT widget, TOGGLE-BOX widget

For browse columns, this attribute is readable only.

For all widgets, the MODIFIED attribute is set to TRUE when the SCREEN-VALUE attribute for the widget is changed, whether or not the field is enabled. For all widgets except the editor widget, the MODIFIED attribute is set to TRUE if the SCREEN-VALUE attribute for the widget is changed using a 4GL statement, such as assignment or DISPLAY. DISPLAY sets MODIFIED to TRUE only when the field is enabled. You can then reset the attribute to FALSE for each widget that can receive input focus or otherwise change value after it is initially displayed.

For editors, the successful execution of either the SAVE-FILE( ) or the READ-FILE( ) methods sets the MODIFIED attribute to FALSE.

For browses, if any browse cell changes, Progress sets MODIFIED to TRUE. The application can reset MODIFIED to FALSE as necessary. If the query associated with a browse is reopened, Progress resets MODIFIED to FALSE.

If the widget is not already realized and you reference its MODIFIED attribute, Progress realizes the widget.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095